package dfbz.demo.demo;

public class parsent {
    private String name="11";
    private int id=10;
//     final double money=18888.8;
   double money=18888.8;

    public parsent(double money) {
        this.money = money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public parsent() {
    }

    public parsent(String name, int id) {
        this.name = name;
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getMoney() {
        return money;
    }
    /*final*/ public void show(){
        System.out.println(this.getName()+this.getId()+this.getMoney());
    }
}
